const express = require('express');
const bodyParser = require('body-parser');
const query = require('querystring');
const app = express();
app.use(bodyParser.urlencoded( { extended: false } ));
app.get('/login', (req, res) => {
    res.send(req.query);
})
app.post('/report', (req, ers) => {
    res.send(req.body);
})
app.listen(8000,　() => {
    console.log('请访问: http://127.0.0.1');
})